/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package data;

/**
 *
 * @author Stefan, Basti
 */
public class Ergebnis {
    private int richtig = 0;
    private boolean finished = false;
    private int geldbetrag;

    public int getRichtig() {
        return richtig;
    }

    public boolean isFinished() {
        return finished;
    }

    public int getGeldbetrag() {
        geldbetrag=calcGeldbetrag();
        return geldbetrag;
    }
    
    public void addRichtig(){
        richtig++;
    }

    private int calcGeldbetrag() {
        return 100*richtig;
    }

    public void setFinished(boolean finished) {
        this.finished = finished;
    }
}
